<?php
get_header();
    require_once 'customPhpScript/OutputDataAsHTML.php';
	require_once 'customPhpScript/RelatedPost.php';
    $outputDataAsHTML=new OutputDataAsHTML();
?>

<div id="content">
    <?php
	//the_post();
    //get_sidebar();
    if (is_home ())
        include_once 'data.homepage/home.main.php';
    else if (is_single ())
        include_once 'data.single/single.main.php';
	else if (is_archive ())
        include_once 'data.archive/archive.main.php';
    else if (is_page ())
        include_once 'data.page/page.main.php';
    else
        include_once 'data.404/any404.main.php';

	get_sidebar();
    ?>
</div>
<div class="clear"></div>

<?php
    get_footer();
?>